Page({
  data: {
    psword: ''
  },
  getPsword: function (e) {
    this.setData({
      psword: e.detail.value,
    })
},
  pswordCheck : function(){
    if(this.data.psword == "20200916"){
      wx.navigateTo({
        url: '../admin'
    })
    console.log('登录成功')
    }
    else{
      wx.navigateTo({
        url: './login'
    })
    }
  }
})